package com.woniuxy.factory.service;

import com.woniuxy.factory.entity.PurchaseRequest;
import com.woniuxy.factory.entity.ResponseResult;

import java.util.Date;
import java.util.List;

/**
 * @author 邹佳骏
 * @date 2020-08-17 12:17
 */
public interface PurchaseRequestService {

    /*查询所有数据*/
    List<PurchaseRequest> getPurchaseRequestAll(int page, int limit
            ,PurchaseRequest purchaseRequest,String searchDate) throws RuntimeException;

    /*查询总条数*/
    int selectAllCount();

    /*插入采购申请*/
    ResponseResult insertPurchase(String proposer, Date requesttime, String requestremark);
}